package id.laskarmedia.opnvpn_flutter.enums;

import androidx.annotation.NonNull;

public enum VPNStage {

    idle("idle"),
    prepare("prepare"),
    authenticating("authenticating"),
    connecting("connecting"),
    authentication("authentication"),
    connected("connected"),
    disconnected("disconnected"),
    disconnecting("disconnecting"),
    denied("denied"),
    error("error"),
    // ignore: constant_identifier_names
    wait_connection("wait_connection"),
    // ignore: constant_identifier_names
    vpn_generate_config("vpn_generate_config"),
    // ignore: constant_identifier_names
    get_config("get_config"),
    // ignore: constant_identifier_names
    tcp_connect("tcp_connect"),
    // ignore: constant_identifier_names
    udp_connect("udp_connect"),
    // ignore: constant_identifier_names
    assign_ip("assign_ip"),
    resolve("resolve"),
    exiting("exiting"),
    unknown("unknown");

    String status;

    VPNStage(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }
}